package com.chuangjiangx.member.score.ddd.query.dto;

import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 积分消费明细详情
 * Created by YangKuo on 2017/10/10.
 */
@Data
@ToString
public class AppScoreDetailDTO {

    private Long id;

    /**
     * 会员卡号
     */
    private String memberCardNum;

    /**
     * 会员名字
     */
    private String name;

    /**
     * 会员手机号
     */
    private String mobile;

    /**
     * 积分类型
     */
    private Byte type;

    /**
     * 积分类型文本
     */
    private String typeText;

    /**
     * 交易积分
     */
    private Long score;

    /**
     * 可用积分
     */
    private Long availableScore;

    /**
     * 交易时间
     */
    private Date createTime;


    /**
     * 兑换规则
     */
    private String ruleName;



    /**
     * 交易门店
     */
    private String storeName;



    public AppScoreDetailDTO(Long id, String memberCardNum, String name, String mobile,
                             Byte type, Long score,
                             Long availableScore, Date createTime, String ruleName,String storeName) {
        this.id = id;
        this.memberCardNum = memberCardNum;
        this.name = name;
        this.mobile = mobile;
        this.type = type;
        this.score = score;
        this.availableScore = availableScore;
        this.createTime = createTime;
        this.ruleName = ruleName;
        this.storeName = storeName;
    }
}
